/**
 * Created by run on 2017/11/12.
 */
/**
 * JS获取baseContextPath
 *
 * @returns {*|jQuery}
 */
function getContextPath(){
    var BASE_CONTEXT_PATH = $('meta[name=context-path]').attr("content");
    BASE_CONTEXT_PATH = BASE_CONTEXT_PATH.substr(0, BASE_CONTEXT_PATH.length - 1);
    return BASE_CONTEXT_PATH;
};
